4 examples for git remote

{{ score }}
  # shows a list of your remotes and where they are pointing to
git remote -v
        
{{ score }}
  # Change the URL for origin to https://github.com/USERNAME/OTHERREPOSITORY.git 
git remote set-url origin https://github.com/USERNAME/OTHERREPOSITORY.git
        
{{ score }}
  # Remove a remote
git remote rm [remote name]
        
{{ score }}
  # Gets URL for remote repo
get remote show origin